package {
    import fm.last.api.*;
    
    import unitest.TestSuite;

    /**
    * Main entry application to test as3-lastfm-web-services library.
    * 
    * Edit your <code>api_key, secret, sk in fm.last.BaseTC</code>.
    * 
    * Check the constructor of fm.last.api.*Test classes to see which API method iss
    * under testing. 
    * 
    */
    [SWF(width="800", height="700", backgroundColor="#ffffff", frameRate="30")]
    public class lastfm_test extends TestSuite
    {
        public function lastfm_test()
        {
            
            
            /* ***** tested ****************************/
            
            // XXX: add a valid token in fm.last.BaseTC before opening this comment
            //addTest(new AuthAPITest());
            
            addTest(new AlbumAPITest());                                                  
            addTest(new ArtistAPITest());
            addTest(new EventAPITest());
            addTest(new GeoAPITest());
            addTest(new GroupAPITest());
            addTest(new LibraryAPITest()); 
            addTest(new PlaylistAPITest());
            addTest(new TagAPITest());
            addTest(new TasteometerAPITest());
            addTest(new TrackAPITest());
            addTest(new UserAPITest());
            addTest(new VenueAPITest());
                        
            /* ****** testing ***************************/

            // XXX: ...            
            
            /* **** to test *****************************/            
              
            // XXX: to test RadioAPI with a valid session from a last.fm's subscriber $$.
            //addTest(new RadioAPITest());

            run();
        }
    }
}
